<template>
  <MessageItemTemplate
    :message="message"
    @set-as-read="$emit('set-as-read', $event)"
  >
    <div>
      {{ message.messageContent }}
    </div>
  </MessageItemTemplate>
</template>

<script>
import MessageItemTemplate from "@/components/new/message-item/MessageItemTemplate";
export default {
  name: "WorkerMessageItem",
  components: {MessageItemTemplate},
  props: {
    message: {}
  }
}
</script>

<style scoped>

</style>
